import request from '@/utils/request'

//获取页面数据
export function getInvAndCon(data) {
  return request({
    url: '/renovation/acceptance/plow/getResult',
    method: 'post',
    formData: data
  })
}

//添加耕地质量等别评定成果信息
export function addResult(data) {
  return request({
    url: '/renovation/acceptance/plow/addResult',
    method: 'post',
    json: data
  })
}

//获取审查意见
export function getAdvice(data) {
  return request({
    url: '/renovation/examineOpinion/detail',
    method: 'post',
    formData: data
  })
}

//添加审查意见
export function addAdvice(data) {
  return request({
    url: '/renovation/examineOpinion/add',
    method: 'post',
    formData: data
  })
}

//获取当前用户签名
export function getSignature(data) {
  return request({
    url: '/renovation/user/currentUserSignature',
    method: 'post',
    formData: data
  })
}

//获取审查流程列表
export function getExamineOpinion(data) {
  return request({
    url: '/renovation/examineOpinion/list',
    method: 'post',
    formData: data
  })
}

//获取审查流程类型列表
export function getExumlist(data) {
  return request({
    url: '/renovation/examineOpinion/getExumlist',
    method: 'post',
    formData: data
  })
}
